import turtle as t

# 设置标题
t.title('house')
t.goto(-100, 0)

t.fillcolor('pink')
t.begin_fill()
t.pencolor('pink')
for i in range(0, 3):
    print(t.pos())
    t.forward(200)
    t.left(120)
t.end_fill()

t.fillcolor('orange')
t.begin_fill()
print(t.pos())
t.forward(30)
t.right(90)
t.forward(140)
t.left(90)
t.forward(140)
t.left(90)
t.forward(140)
t.end_fill()
t.ht()
t.done()
